<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ICON信息查看</title>
<link href="${rc.getContextPath()}/resources/css/common.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="${rc.getContextPath()}/resources/js/jquery.js"></script>
<script type="text/javascript" src="${rc.getContextPath()}/resources/js/common.js"></script>
<script type="text/javascript" src="${rc.getContextPath()}/resources/js/jquery.validate.js"></script>
<script type="text/javascript" src="${rc.getContextPath()}/resources/js/messages_cn.js"></script>
<script type="text/javascript" src="${rc.getContextPath()}/resources/js/input.js"></script>
<script type="text/javascript" src="${rc.getContextPath()}/js/ajaxupload.js"></script>
<!-- 引入弹出JS begin -->
<script type="text/javascript" src="${rc.getContextPath()}/js/lhgdialog/lhgdialog.min.js?self=true"></script>
<script type="text/javascript">
	$(document).ready(function() {
		var url = "${icon.imgUrl}";
		if (!url) {			
			$("#iconImg").css("display","none");//如果没图片，就不显示图片框
		}		
	});
</script>
</head>

<body>
	<input type="hidden" id="msg" name="msg" value="${msg!}" />
	<div class="path">
		<a href="#"><b>ICON信息查看</b></a>
	</div>
	<form action="${base!}/icon/admin/saveIcon.html" method="post" id="tableForm" name="tableForm" enctype="multipart/form-data">
		<table class="input tabContent">
			<tbody>
				<tr>
					<th><span class="requiredField">*</span>ICON名称:</th>
					<td>
						${icon.title}
					</td>
				</tr>
				<tr>
					<th>备注:</th>
					<td>${icon.description}</td>
				</tr>
				<tr>
					<th>此处显示图片：</th>
					<td>
						<img src="${base}${icon.imgUrl}" alt="" id="iconImg"  width="50" height="50" />
					</td>
				</tr>
			</tbody>
		</table>

		<table class="input">
			<colgroup>
				<col width="15%" />
				<col width="35%" />
				<col width="15%" />
				<col width="35%" />
			</colgroup>
			<tr>
				<td></td>
				<td colspan="3">
					<input type="button" id="backButton" class="button" value="返回" onclick="javascript:back()" />
				</td>
			</tr>
		</table>
	</form>
</body>
</html>